//
//  DownloadImageOperation.h
//  LO_MUSIC
//
//  Created by lanou3g on 16/2/25.
//  Copyright © 2016年 杨少锋. All rights reserved.
//  自定义线程(自定义线程块)

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@class DownloadImageOperation;

//协议
@protocol DownloadImageOperationDelegate <NSObject>

- (void)getImage:(UIImage *)image opreation:(DownloadImageOperation *)opreation;

@end

@interface DownloadImageOperation : NSOperation

//图片的链接
@property(nonatomic,copy)NSString *url;

//
@property(nonatomic,strong)NSIndexPath *indexPath;


//代理属性
@property (nonatomic,weak) id<DownloadImageOperationDelegate>delegate;



@end
